cmake_minimum_required(VERSION 3.10)
project(OpenGLTask)

set(CMAKE_CXX_STANDARD 11)

add_library(glad STATIC ${CMAKE_SOURCE_DIR}/glad.c)

target_include_directories(glad PUBLIC ${CMAKE_SOURCE_DIR})

find_package(glfw3 3.3 REQUIRED)
find_package(glm REQUIRED)

add_executable(task1 task1/task1.cpp)

target_link_libraries(task1 PRIVATE glad glfw)